package dongbai.soft.utils;

import java.util.UUID;

public class getUUID {
    public static String get6UUID() {
        UUID id = UUID.randomUUID();
        String[] idd = id.toString().split("-");
        return idd[0].substring(0, 6);
    }

    public static String get8UUID() {
        UUID id = UUID.randomUUID();
        String[] idd = id.toString().split("-");
        return idd[0];
    }
}
